package com.qiandw.demo.api

import org.springframework.web.bind.annotation.{RequestMapping, RestController}

@RestController
class HomeApi {

  @RequestMapping(value = Array("/home.api"))
  def test01(): Any= {
    "hello"
  }

  @RequestMapping(value = Array("/user.api"))
  def test02(): Any= {
    "user"
  }

  @RequestMapping(value = Array("/admin.api"))
  def test03(): Any= {
    "admin"
  }

  @RequestMapping(value = Array("/any.api"))
  def test04(): Any= {
    "any"
  }

}
